using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._ParcelTools._Administration
{
    /// <summary>
    /// <para>Enable Parcel Topology</para>
    /// <para>Enables geodatabase topology on a parcel fabric.</para>
    /// <para>启用宗地结构上的地理数据库拓扑。</para>
    /// </summary>    
    [DisplayName("Enable Parcel Topology")]
    public class EnableParcelTopology : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public EnableParcelTopology()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_parcel_fabric">
        /// <para>Input Parcel Fabric</para>
        /// <para>The parcel fabric for which the geodatabase topology will be enabled. The input parcel fabric can be from a file geodatabase or an enterprise geodatabase.</para>
        /// <para>将为其启用地理数据库拓扑的宗地结构。输入宗地结构可以来自文件地理数据库或企业级地理数据库。</para>
        /// </param>
        public EnableParcelTopology(object _in_parcel_fabric)
        {
            this._in_parcel_fabric = _in_parcel_fabric;
        }
        public override string ToolboxName => "Parcel Tools";

        public override string ToolName => "Enable Parcel Topology";

        public override string CallName => "parcel.EnableParcelTopology";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_parcel_fabric, _updated_parcel_fabric];

        /// <summary>
        /// <para>Input Parcel Fabric</para>
        /// <para>The parcel fabric for which the geodatabase topology will be enabled. The input parcel fabric can be from a file geodatabase or an enterprise geodatabase.</para>
        /// <para>将为其启用地理数据库拓扑的宗地结构。输入宗地结构可以来自文件地理数据库或企业级地理数据库。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Parcel Fabric")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_parcel_fabric { get; set; }


        /// <summary>
        /// <para>Updated Parcel Fabric</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated Parcel Fabric")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _updated_parcel_fabric { get; set; }


        public EnableParcelTopology SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}